CUW\App\Helpers\WC D

Total Complexity 213
Dependencies 8
Dependents 20
Total lines 861
Lines of code 430
Logical lines of code 251
Comment lines 329
Methods 50
Properties 0

Methods 50

Method Rating Maintainability Complexity Lines of code
is()
B
54 18 18
getTaxonomyName()
A
50 16 28
isPurchasableProduct()
A
57 10 16
formatPriceRaw()
A
54 9 19
getProductTitle()
A
56 9 16
addToOrder()
S
59 8 12
getPriceToDisplay()
S
61 7 10
applyCartCoupon()
S
63 5 10
getOrder()
S
66 5 8
removeCartCoupon()
S
63 5 10
getProduct()
S
66 5 8
setCartItemPrice()
S
64 5 9
setSession()
S
67 4 7
getSession()
S
69 4 6
getOrderItems()
S
64 4 10
getFormattedVariation()
S
66 4 7
setCartItemQty()
S
67 3 7
getProductImage()
S
67 3 7
getProductAttributes()
S
67 3 7
getVariationAttributes()
S
67 3 7
getVariationIdByAttributes()
S
67 3 7
isBackordersAllowedProduct()
S
67 3 7
getCart()
S
70 3 6
get()
S
67 3 8
getAppliedCouponsInCart()
S
68 3 7
formatPriceHtmlRaw()
S
69 3 6
declareFeatureCompatibility()
S
65 3 9
getProductTagIds()
S
67 3 7
getProductSku()
S
67 3 7
getProductStockQty()
S
67 3 7
getAppliedCouponsInOrder()
S
67 3 7
removeCartItem()
S
67 3 7
addToCart()
S
67 3 7
getParentOrder()
S
67 3 7
getCartItem()
S
67 3 7
isVariableProduct()
S
67 3 8
customOrdersTableIsEnabled()
S
66 3 8
getProductParentId()
S
67 3 7
getProductChildrenIds()
S
67 3 7
getProductCategoryIds()
S
67 3 7
getCartItems()
S
68 3 7
getProductType()
S
67 3 7
isProductType()
S
67 3 7
addNotice()
S
68 2 7
formatSalePrice()
S
69 2 6
formatPriceRange()
S
69 2 6
getCurrency()
S
71 2 6
getCurrencySymbol()
S
71 2 6
isCouponExists()
S
67 2 7
formatPrice()
S
70 2 6